projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e06c3
)
x86: fix improper return value from relinquish_memory()
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 25 Mar 2010 07:40:09 +0000
(07:40 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 25 Mar 2010 07:40:09 +0000
(07:40 +0000)
While apparently only a theoretical possibility (domain_kill() has a
BUG_ON() that wasn't reported to trigger so far), I still think it is
better to have the code cleaned up.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/domain.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/domain.c
b/xen/arch/x86/domain.c
index 17f5c83c75fd0ecfee8ee6c35e67575749a6696a..6321e56bfb38d3f06d87393f723718a2e1f3c66b 100644
(file)
--- a/
xen/arch/x86/domain.c
+++ b/
xen/arch/x86/domain.c
@@
-1808,6
+1808,7
@@
static int relinquish_memory(
break;
case -EAGAIN:
case -EINTR:
+ ret = -EAGAIN;
page_list_add(page, list);
set_bit(_PGT_pinned, &page->u.inuse.type_info);
put_page(page);